home *** CD-ROM | disk | FTP | other *** search
/ ring.yamanashi.ac.jp/pub/pc/freem/action/ / action.zip / tekkyuu.zip / tekkyuu / tekkyuu.swf / scripts / DefineSprite_293_map / frame_15 / PlaceObject2_118_3 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2008-02-20  |  268b  |  13 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.mapst[15] == 1 && _root.sr == 1)
  3.    {
  4.       if(this.hitTest(_root.hero))
  5.       {
  6.          this.gotoAndPlay(6);
  7.          _root.mapst[15] = 0;
  8.          _root.maxhp += 20;
  9.          _root.myhp = _root.maxhp;
  10.       }
  11.    }
  12. }
  13.